﻿@model TrainingManagement.web.Models.ViewModels.SkillCreateViewModel

@{
    ViewBag.Title = "CreateSkill";
}

<h2>Create Skill</h2>
@using (Html.BeginForm()){
    @Html.ValidationSummary(true)

    <div>
        @Html.LabelFor(a => a.Title)
        @Html.EditorFor(a => a.Title)
    </div>
    <div>
        @Html.ListBoxFor(a => a.SkillId, Model.GetSkill(null), new  Dictionary<string, object>{{"Class", "WideShit"}})
    </div>
    <p>
        <input type="submit" value="Save"/>
    </p>

}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
